import request from '@/utils/request'
import qs from 'querystring'

export function listMerChant(data) {
    return request({
        url: '/listMerChant ',
        method: 'post',
        data: qs.stringify(data)
    })
}

export function addMerChant (data) {
    return request({
        url: '/addMerChant  ',
        method: 'post',
        data: qs.stringify(data)
    })
}

export function updMerChant(data) {
    return request({
        url: '/updMerChant ',
        method: 'post',
        data: qs.stringify(data)
    })
}

export function getMerChantById(data) {
    return request({
        url: '/getMerChant ',
        method: 'post',
        data: qs.stringify(data)
    })
}
